//
//  UIGridViewRow.m
//  foodling2
//
//  Created by Tanin Na Nakorn on 3/6/12.
//  Copyright 2012 __MyCompanyName__. All rights reserved.
//

#import "UIGridViewRow.h"


@implementation UIGridViewRow


- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
	
    if (self = [super initWithStyle:UITableViewCellStyleDefault reuseIdentifier:reuseIdentifier]) {
		self.selectionStyle = UITableViewCellSelectionStyleNone;
		self.userInteractionEnabled = YES;
        UIView *breakLine = [[UIView alloc]initWithFrame:CGRectMake(10, 0, self.frame.size.width-20, 1)];
        breakLine.backgroundColor = RGBCOLOR(245, 245, 245);
        breakLine.autoresizingMask = UIViewAutoresizingFlexibleBottomMargin;
        [self addSubview:breakLine];
	}
	
    return self;
}


@end
